package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.entity.Dormitory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-10-31
 */
@Mapper
public interface DormitoryMapper extends BaseMapper<Dormitory> {
    public int subAvailable(Integer id);
    public int addAvailable(Integer id);
    public Integer findAvailableDormitoryId();

}
